//
//  MyClassRecord.h
//  HTT
//
//  Created by admin on 15/11/27.
//  Copyright © 2015年 nit. All rights reserved.
//

#import "BaseModel.h"

#import "CourseRecord.h"
@interface MyClassRecord : BaseModel
@property ( nonatomic, retain) NSNumber *crId;
@property ( nonatomic, retain) NSString *studentName;
@property ( nonatomic, retain) NSNumber *cgcId;
@property ( nonatomic, retain) NSNumber *cgId;
@property ( nonatomic, retain) NSNumber *crAccess;
@property ( nonatomic, retain) NSString *crAccessContent;
@property ( nonatomic, retain) NSString *crDate;
@property ( nonatomic, retain) NSString *crStartTime;
@property ( nonatomic, retain) NSString *crEndTime;
@property ( nonatomic, retain) NSString *crTchSummary;
@property ( nonatomic, retain) NSString *studentPhoto;
@property ( nonatomic, retain) NSNumber *studentId;
@property ( nonatomic, retain) NSString *cgAddress;
@property ( nonatomic, retain) NSNumber *cgCount;
@property ( nonatomic, retain) NSNumber *cgRemainCount;
@property ( nonatomic, retain) NSString *cgStartTime;
@property ( nonatomic, retain) NSString *cgcDate;
@property ( nonatomic, retain) NSString *cgcStartTime;
@property ( nonatomic, retain) NSNumber *cgcStatus;
@property ( nonatomic, retain) NSString *gradeName;
@property ( nonatomic, retain) NSString *courseName;
@property ( nonatomic, retain) NSNumber *tchId;
@property ( nonatomic, retain) NSString *cgcStopTime;
@property ( nonatomic, retain) NSString *teacherName;
@property ( nonatomic, retain) NSString *teacherPhoto;

+ (void)updateMyClassRecord:(NSArray *)myClassRecordArray;
- (CourseRecord *)toCourseRecord;

+ (MyClassRecord *)toMyClassRecord:(CourseRecord *)coureRecord;
+ (NSArray *)toMyClassRecords:(NSArray *)courseRecords;
@end
